let fs = require('fs');
let buf = '';

process.stdin.on('readable', function() {
    let chunk = process.stdin.read();
    if (chunk) buf += chunk.toString();
});

process.stdin.on('end', function() {
    let m = parseInt(buf);
    let nums = [100, 50, 20, 10, 5, 2, 1];
    let cnts = [];
    console.log(m);
    for (let i in nums)
    {
        cnts[i] = parseInt(m / nums[i]);
        m -= cnts[i] * nums[i];
        console.log(`${cnts[i]} nota(s) de R$ ${nums[i]},00`);
    }
    
});